package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsGoods;
import com.qf.vo.GoodsAllinone;

import java.util.List;
import java.util.Map;

/**
 * @author 千峰教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public interface DtsGoodsService {
    Integer findTotal();

    IPage<DtsGoods> findPage(Integer page, Integer limit, String sort, String order, String name, String goodSn, List<Integer> brandIds);

    Map<String, Object> findById(Integer id);

    Object update(GoodsAllinone goodsAllinone);

    void delete(Integer id);

    Object add(GoodsAllinone one);

    DtsGoods findByid(Integer intValue);

}
